package com.twu.biblioteca;

public class UnavailableItemException extends Exception {

        private final String bookTitle;

        public UnavailableItemException(String bookTitle) {
            this.bookTitle = bookTitle;
        }

        public String getMessage() {
            return "UnavailableBookException: "
                    + bookTitle + "is not available.";
        }

}


